eeprom: use eeprom_execute_command for all eeprom functions
authorNikita Kiryanov <[email protected]>
Sat, 16 Apr 2016 14:55:12 +0000 (17:55 +0300)
committerTom Rini <[email protected]>
Sat, 21 May 2016 00:42:40 +0000 (20:42 -0400)
commite7c2729bb358064ef7baf6081e6a47cf3f878e5c
tree3ddecd529f6428be4374cea39e656d90f8698abe
parentc40f03723fba2f77bccd92dd87fcd48c37d13cdc
eeprom: use eeprom_execute_command for all eeprom functions

Update eeprom_execute_command() and related code to accommodate both layout
aware and layout unaware functions.

No functional changes.

Cc: Heiko Schocher <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Igor Grinberg <[email protected]>
Cc: Tom Rini <[email protected]>
Signed-off-by: Nikita Kiryanov <[email protected]>
[trini: Make eeprom_execute_command have ulong for i2c_addr]
Signed-off-by: Tom Rini <[email protected]>
cmd/eeprom.c